Fix the AtkImage implementation for GtkIconView items
authorMatthias Clasen <mclasen@redhat.com>
Sun, 1 Dec 2013 23:33:38 +0000 (18:33 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 1 Dec 2013 23:33:38 +0000 (18:33 -0500)
We were returning uninitialized values for image size and
position.

Found in a pile of patches in
https://bugzilla.gnome.org/review?bug=712760

gtk/a11y/gtkiconviewaccessible.c

index ce78c223074a03df512158b95c156cb8b01aeb8c..2673b19bd8a89d56b348a318fbe0d9975db3e211 100644 (file)
@@ -237,6 +237,8 @@ get_pixbuf_box (GtkIconView     *icon_view,
                                &item->cell_area, &item->cell_area,
                                (GtkCellAllocCallback)get_pixbuf_foreach, &data);
 
+  *box = data.box;
+
   return data.pixbuf_found;
 }